﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ScrumProject.Models
{
    public class RealizedWork
    {
        [DisplayName("Work Id")]
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }
        public System.DateTime DateOfWorking { get; set; }
        public Nullable<double> WorkDone { get; set; }
        public Nullable<double> WorkRemaining { get; set; }
        public Nullable<int> TaskId { get; set; }
        public virtual Task Task { get; set; }
        public int UserId { get; set; }
    }
}